class UrlMappings {
    static mappings = {
      "/"{
		  controller = "note"
		  action = "list"
	  }
      
      "/$controller/$action?/$id?"{
	      constraints {
			 // apply constraints here
		  }
	  }
      
      "/index"(view:"/index")
      
	  "500"(view:'/error')
	}
}
